package com.group2.bankonline.service;

import com.group2.bankonline.pojo.Personinfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author syf
 * @since 2024-07-11
 */
public interface IPersoninfoService extends IService<Personinfo> {
    public  Personinfo getByTelAndPwd(String tel,String pwd);

    public Personinfo getByTel(String tel);

    public Personinfo getByRealName(String realname);

    public int updateinfo(Personinfo personinfo);

    public String selectTelById(int id);

    void logout(String token);
}
